package com.achievement.mapper;
import com.achievement.domain.bo.HonorApplyBookBO;
import com.achievement.domain.bo.HonorBO;
import com.achievement.domain.entity.HonorApplyBookEntity;
import com.achievement.domain.entity.HonorEntity;
import com.achievement.domain.param.honor.HonorParam;
import com.achievement.domain.vo.honor.HonorExcelVO;
import com.achievement.domain.vo.honor.HonorVO;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

public interface HonorMapper extends BaseMapper<HonorEntity> {
    List<HonorVO> listByPage(@Param(value = "param") HonorBO honorBO, @Param(Constants.WRAPPER) Wrapper<HonorEntity> queryWrapper);
    List<HashMap<String, Integer>> listStatistics(@Param(value = "param") HonorBO honorBO, @Param(Constants.WRAPPER) Wrapper<HonorEntity> queryWrapper);
    List<HonorExcelVO> honorLisExcel(@Param(value = "param") HonorBO honorBO, @Param(Constants.WRAPPER) Wrapper<HonorEntity> queryWrapper);
}
